#include <string>
#include "singleton.h"

class std::ofstream;

namespace Putin{

/**
 * 
 *
 * @brief
 * A logging utility
 * 
 * Logging things made easy. Simply call this globally and push loggs
 * 
 * @remarks
 * This class is not thread safe. Yet.
 */
class Logger : public Singleton<Logger>
{
public:
	Logger();
	
	bool loggln(std::string text, bool addTimeStamp=true);
	bool clear();

private:
	
	std::ofstream& fout; 

	static const char* FILENAME = "logg.txt";

};


}